package com.mr.qa.bo;

import java.util.Date;

import com.mr.qa.dao.impl.ShopArticleContributeDAO;

public class ShopArticleContribute extends BaseBO {

	private String articleName;
	private String articleDescription;
	private Integer articleQuantity;
	private String realName;
	private String contact;
	private String email;
	private User user;
	private Date date;
	public String getArticleName() {
		return articleName;
	}
	public void setArticleName(String articleName) {
		this.articleName = articleName;
	}
	public String getArticleDescription() {
		return articleDescription;
	}
	public void setArticleDescription(String articleDescription) {
		this.articleDescription = articleDescription;
	}
	public Integer getArticleQuantity() {
		return articleQuantity;
	}
	public void setArticleQuantity(Integer articleQuantity) {
		this.articleQuantity = articleQuantity;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getContact() {
		return contact;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	
	public void add(){
		ShopArticleContributeDAO dao = new ShopArticleContributeDAO();
		dao.save(this);
	}
}
